{
    xtype:'processForm',
    title:'Vacation request',
    width:400,
    formConfig:{
        formId:'package',
        labelWidth:140,
        items:[ {
                xtype: 'textfield',
                fieldLabel: 'Employee name',
                allowBlank : false,
                name:'employeeName'
            }, {
                xtype: 'textfield',
                fieldLabel: 'Number of days',
                name:'numberOfDays'
            }, {
                xtype: 'datefield',
                fieldLabel: 'First day of vacation',
                name:'startDate'
            }, {
                xtype: 'datefield',
                fieldLabel: 'Date of return to work',
                name:'returnDate'
            }, {
                xtype: 'checkbox',
                fieldLabel: 'Vacation pay requested',
                inputValue:'true',
                boxLabel: '',
                name: 'vacationPay'
            }, {
                xtype: 'textarea',
                fieldLabel: 'Motivation',
                name:'vacationMotivation'
            }
        ]
    }
}
